package com.cci.kangdao.dao;

import org.apache.ibatis.annotations.Select;
import org.mybatis.spring.annotation.MapperScan;

import java.util.List;
import java.util.Map;

/**
 * @author William Du
 * @date 2019/6/13
 */
@MapperScan
public interface RolesFunctionPositionTDao {

    @Select("select * from RolesFunctionPosition_T where Flag = 0 and RoleId = #{roleId} order by Position asc")
    List<Map<String,Object>> getRolesFunctionPositionByRoleId(Long roleId);

}
